package com.ddwl.goods.dao.bargain;

import com.ddwl.common.dao.TkDao;
import com.ddwl.goods.mapper.bargain.BargainConfigMapper;
import com.ddwl.goods.model.bargain.BargainConfig;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @Author hemiaojun
 * @Date 2020/11/6 13:52
 */
@Repository
public class BargainConfigDao extends TkDao<BargainConfigMapper, BargainConfig> {

    @Resource
    private BargainConfigMapper bargainConfigMapper;


    public void update(BargainConfig entity) {
        bargainConfigMapper.updateByPrimaryKey(entity);
    }
}
